package com.dsl.dslallinone.dto.dim;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

/**
 * 设备维表
 */
@Table("device")
public class Device {
    @Id
    private String id;
    private String floorId;
    private String name;
    private String energyType;

    public Device() {}

    public Device(String id, String floorId, String name, String energyType) {
        this.id = id;
        this.floorId = floorId;
        this.name = name;
        this.energyType = energyType;
    }

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getFloorId() { return floorId; }
    public void setFloorId(String floorId) { this.floorId = floorId; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getEnergyType() { return energyType; }
    public void setEnergyType(String energyType) { this.energyType = energyType; }
}
